package frame;

import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import javax.swing.JFrame;
import panel.MainPnl;

public class MainFr extends JFrame{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5988513125942516733L;
	
	private Container window = getContentPane();
	
	
	MainPnl mp;
	
	
	public MainFr(){
		
		initGUI();
	}
	public void initGUI(){
		setTitle("MainFrame with a Panel");
		setPreferredSize(new Dimension(700,600));
		setSize(700,600);
		setLayout(new BorderLayout());
		setResizable(false);
		setLayout(null);
		
		mp = new MainPnl();
		
		window.add(mp);
		
		pack();
		
}
}